package com.woniuxy.service;

import com.woniuxy.dto.MenusDto;
import com.woniuxy.dto.RolesAndMenusDto;
import com.woniuxy.entity.MenuTable;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zcx,ftl,gr,rhs
 * @since 2021-12-31
 */
public interface MenuTableService extends IService<MenuTable> {

    List<MenusDto> listMenusByUserId();

    RolesAndMenusDto listMenusByRoleId(String roleId);
}
